package aTurk;
import java.util.Comparator;


public class RealExecComperator implements Comparator<Problem>{

	@Override
	public int compare(Problem p1, Problem p2) {
		if(p1.getRealExecTime()>p2.getRealExecTime())
			return 1;
		else if(p1.getRealExecTime()<p2.getRealExecTime())
			return -1;
		return 0;
	}

}
